package com.mfc.education.service.edu.mapper;

import com.mfc.education.service.edu.entity.CourseCollect;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;


import com.mfc.education.service.edu.entity.vo.CourseCollectVo;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * <p>
 * 课程收藏 Mapper 接口
 * </p>
 *
 * @author Mfc
 * @since 2021-07-25
 */


@Repository

public interface CourseCollectMapper extends BaseMapper<CourseCollect> {

    Integer removeCourseCollect(String courseId, String memberId);

    List<CourseCollectVo> courseCollectListMy(String memberId);

    Integer selectCollect(String courseId, String memberId);
}
